package com.novax.ex.activity.infrastructure.mapper;

import com.novax.ex.activity.infrastructure.entity.TaskRule;
import com.novax.ex.common.base.BaseMapper;

import java.util.List;

/**
 * @author Hsylient
 * @description 针对表【task_rule(规则配置表)】的数据库操作Mapper
 * @createDate 2023-06-20 16:47:39
 * @Entity com.novax.ex.activity.infrastructure.entity.TaskRule
 */
public interface TaskRuleMapper extends BaseMapper {

    /**
     *
     *
     * @param language 语言
     * @return 新手引导任务规则内容
     */
    String selectContentByLanguage(String language);

    /**
     * @Description: 查询规则所有多语言配置
     * @Author: ChenXi
     * @Date:  2023/6/25 17:28
     * @param
     * @return: java.util.List<com.novax.ex.activity.infrastructure.entity.TaskRule>
     **/
    List<TaskRule> queryAll();

}
